#ifndef I2C_H
#define I2C_H

#include "Nano100Series.h"
#include "Common.h"

struct i2c_msg_t {
	uint8_t addr;

	uint8_t *tx_buf;
	uint32_t tx_to_write;
	uint32_t tx_write;

	uint8_t *rx_buf;
	uint32_t rx_to_read;
	uint32_t rx_read;
};

#endif
